package com.example.demo.service.Impl;

import com.example.demo.mapper.VisitNumberMapper;
import com.example.demo.module.entity.VisitNumber;
import com.example.demo.service.VisitNumberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VisitNumberServiceImpl implements VisitNumberService {
    @Autowired
    private VisitNumberMapper visitNumberMapper;

    @Override
    public List<VisitNumber> findAll() throws Exception {
        return visitNumberMapper.selectAll();
    }
}
